home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / BUSINESS / MTRAK1.LZH / INSTALL.BAT next >
DOS Batch File  |  1992-12-08  |  6KB  |  193 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons.  For instance, drive C
  5. echo is designated as "C:", not "C".  Make absolutely sure that you have desig-
  6. echo nated your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. %2
  13. cd\
  14. md MANAGEX
  15. cls
  16. cd\MANAGEX
  17. if exist upgrd.exe erase upgrd.exe
  18. if exist M--PRJCT.LBF goto SKIPSPAC
  19. echo off
  20. cls
  21. echo MT-Tracker requires a minimum of 1 megabyte of hard disk space.
  22. echo .
  23. echo .
  24. echo If you have any doubt that your hard disk has at least 1 megabyte of free
  25. echo space, press Control-C to abort this installation; otherwise,
  26. pause
  27. :SKIPSPAC
  28. if not exist M--PRJCT.LBF goto SKIPBACK
  29. echo off
  30. cls
  31. echo .
  32. echo .
  33. echo     Before you go through this installation, please insure that you have
  34. echo current backups of MT-Tracker data you may have developed before today.
  35. echo If you do not have such backups, press Control-C and make them; otherwise,
  36. pause
  37. :SKIPBACK
  38. %1
  39. echo Copying files...
  40. copy *.* %2/v
  41. %2
  42. echo .
  43. echo Erasing old files (if any exist) ...
  44. erase t*.hlp
  45. if exist export.exe erase export.exe
  46. if exist blankcal erase blankcal
  47. if exist blankcl erase blankcl
  48. if exist multtrak.exe rename mt.bat mtx.bat
  49. if exist mttrack.exe erase mttrack.exe
  50. if exist mttrack.ovr erase mttrack.ovr
  51. if exist sample.lbt erase sample.lbt
  52. if exist sample.rpt erase sample.rpt
  53. if exist sample1.rpt erase sample1.rpt
  54. if exist sample2.rpt erase sample2.rpt
  55. if exist mttrack.doc erase mttrack.doc
  56. if exist upgrd.com erase upgrd.com
  57. if exist m-lbmerge.dat erase m-lbmerge.dat
  58. if exist prntdrvr.exe erase prntdrvr.exe
  59. if exist editx.exe erase editx.exe
  60. if exist mt-fix.exe erase mt-fix.exe
  61. if exist moe.exe erase moe.exe
  62. if exist printdoc.bat erase printdoc.bat
  63. if exist b-beep.exe erase b-beep.exe
  64. echo                              VERY IMPORTANT
  65. echo .
  66. echo .
  67. echo Now, some program files will be extracted from an archive.  Before each
  68. echo file is extracted, a check will be made to see whether a similarly named
  69. echo one already exists on your hard disk.  If so, you'll be asked whether you
  70. echo wish to overwrite it with a new copy. If you were to answer "YES", some of
  71. echo your customizations might be overwritten with plain "vanilla" data.
  72. echo .
  73. echo           THEREFORE, ALWAYS ANSWER "NO" BY PRESSSING THE "N" KEY.
  74. echo .
  75. echo .
  76. echo .
  77. pause
  78. cls
  79. :EXTRACT
  80. mltk
  81. erase mltk.exe
  82. if exist M--PRJCT.LBF goto SKIPDOC
  83. if exist 1sttime.fyl erase 1sttime.fyl
  84. prntdrvr
  85. echo off
  86. cls
  87. echo The instructions must be printed.
  88. echo .
  89. echo .
  90. echo Now, turn your printer OFF and then ON.  Make sure that it is ready to 
  91. echo print and that you have loaded at least 60 sheets of paper.  Then, align
  92. echo the print head 1/2" below the top of the first sheet.
  93. echo .
  94. pause
  95. cls
  96. echo Printing documentation...
  97. type README.DOC >prn
  98. type MTTRACK.DOC >prn
  99. cls
  100. echo The documentation has been printed.
  101. echo .
  102. pause
  103. cls
  104. echo .
  105. echo MT-Tracker is now installed on your hard disk in the MANAGEX directory. To
  106. echo access the program, do the following:
  107. echo .
  108. echo     1) enter "%2" at the prompt (this logs you onto drive %2);
  109. echo     2) enter "CD\MANAGEX" at the prompt ("CD" means "Change Dirctory");
  110. echo     3) enter "MT" at the prompt.
  111. echo .
  112. echo .
  113. echo Also, remember to go through the instructions, step by step.
  114. echo .
  115. echo .
  116. pause
  117. cls
  118. echo At your earliest convenience, copy the BACKUP and RESTORE utilities (from
  119. echo the DOS diskette that came with your computer) to the MANAGEX directory,
  120. echo or make sure that those two utilities are in your computer's "PATH".
  121. echo MT-Tracker needs them for creating and restoring archive files.
  122. echo .
  123. echo .
  124. echo .
  125. pause
  126. goto END
  127. :SKIPDOC
  128. echo off
  129. cls
  130. echo .
  131. echo                     IF YOU'RE A REGISTERED USER...
  132. echo .
  133. echo      This installation has resulted in a personalized copy of MT-Tracker.
  134. echo Now, when you run the program, the title screen will contain both your 
  135. echo name and a serial number.  Whenever you need assistance from Integra, you
  136. echo will need to provide your helper with this number.
  137. echo .
  138. echo      Though you are encouraged to give copies of MT-TRACKER to your
  139. echo friends, don't allow anyone to have access to any files that have your
  140. echo name and serial number; that is, don't give your friends any files from
  141. echo your hard disk's ManageX subdirectory.  Since the program files on your 
  142. echo hard disk been customized for your computer and personal preferences, 
  143. echo they may produce unpredictable results on your friends' machines at some 
  144. echo future time.
  145. echo .
  146. echo   DO pass around copies of the MT-Tracker diskette, but DON'T tell anyone
  147. echo your serial number, since a user must register to receive one of his own.
  148. echo .
  149. echo .
  150. echo      Thanks.
  151. echo .
  152. echo .
  153. pause
  154. echo off
  155. cls
  156. echo                             VERY IMPORTANT!!
  157. echo .
  158. echo .
  159. echo      Be sure to save the disk containing this version of MT-Tracker. You
  160. echo may need it at some time in the future if your hard disk files are lost.
  161. echo .
  162. echo .
  163. pause
  164. echo off
  165. cls
  166. echo .
  167. echo .
  168. echo To print the full MT-Tracker documentation, load about 60 sheets into your
  169. echo printer.  Then, align the printhead about 1/2" below the top of the first
  170. echo sheet and type "PRINTDOC" at the prompt below.
  171. echo.
  172. echo.
  173. echo .
  174. echo .
  175. pause
  176. echo  Thanks for your support!
  177. echo .
  178. echo .
  179. goto END
  180. pause
  181. :NODRIVE
  182. cls
  183. echo .
  184. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  185. echo .
  186. echo examples:
  187. echo .
  188. echo     "B:INSTALL B: C:"  will install MT-Tracker from drive B to drive C
  189. echo     "A:INSTALL A: D:"  will install MT-Tracker from drive A to drive D
  190. echo .
  191. echo            PLEASE TRY AGAIN
  192. :END
  193.